

    <script src="whiff_middleware/whiff_js"></script>

    <h1>Expand a simple template at the server and exec file contents</h1>

    You should get an alert saying "alert from trivial page".
    Because it uses absolute paths this page may not work
    if not launched from ../runtest.py.
    
<script>
my_javascript_action = function () {
 var templateArray = [
"{{env whiff.content_type: \"application\/javascript\" \/}} ",
"alert('alert from trivial page');"
];
 var url = "http:\/\/localhost:8888\/expandPostedTemplate";
 var prefix = "";
 var asynchronous = false;
 jswhiff_exec_template(url, templateArray, prefix, asynchronous);
} ;
my_javascript_action();
</script>
